package com.kaibes.module.account.pojo;

import com.kaibes.core.base.annotation.Description;
import com.kaibes.core.validator.LengthLimit;

import lombok.Data;

@Description("账号信息")
@Data
public class AccountInsert {
    @LengthLimit(min = 5, max = 32, message = "用户名最小5位，最大16位")
    @Description("用户名")
    private String username;
    @LengthLimit(min = 6, max = 32, message = "密码最小6位，最大32位")
    @Description("密码")
    private String password;
    @Description("用户ID")
    private Integer userId;
}
